import Vue from 'vue'
import App from './App.vue'
import router from './router'

// import { Alert,Dialog,MessageBox } from 'element-ui';
// Vue.use(Dialog)
// Vue.use(Alert)
// Vue.prototype.$msgbox=MessageBox
// Vue.prototype.$alert=MessageBox.alert

import qs from 'qs'
import axios from 'axios'
Vue.prototype.$axios = axios    //全局注册，使用方法为:this.$axios
Vue.prototype.qs = qs           //全局注册，使用方法为:this.qs

import VueCookies from 'vue-cookies'
Vue.use(VueCookies)

import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'

Vue.use(VueAwesomeSwiper);
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
